public class Student {
    public String name; //字段/属性/成员变量
    public short age;
    public String gender;
    public double score;

    public static void doClass()  //成员方法
    {
        System.out.println("按时上课！");
    }
    public static void dohomework()
    {
        System.out.println("按时做家庭作业！");
    }
    public static void eaxm()
    {
        System.out.println("按时考试！");
    }

}
